/**
* 名字不太对
* Copyright (c) 2019 ruoyi
*/

import store from '@/store'

export default {
  inserted(el, binding, vnode) {
    const roles = store.getters && store.getters.roles
    if (roles.includes('middle') || roles.includes('deal') || roles.includes('leader')) {
      el.parentNode && el.parentNode.removeChild(el)
    }
  }
}

